package com.ruoyi.system.service.college.impl;

import java.util.List;

import com.ruoyi.system.domain.college.Statistics.GraduateEmploymentUnitStatistics;
import com.ruoyi.system.mapper.award.research.GraduateEmploymentUnitStatisticsMapper;
import com.ruoyi.system.service.college.IGraduateEmploymentUnitStatisticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 毕业生签约单位统计Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-11-24
 */
@Service
public class GraduateEmploymentUnitStatisticsServiceImpl implements IGraduateEmploymentUnitStatisticsService
{
    @Autowired
    private GraduateEmploymentUnitStatisticsMapper graduateEmploymentUnitStatisticsMapper;

    /**
     * 查询毕业生签约单位统计
     * 
     * @param id 毕业生签约单位统计主键
     * @return 毕业生签约单位统计
     */
    @Override
    public GraduateEmploymentUnitStatistics selectGraduateEmploymentUnitStatisticsById(Integer id)
    {
        return graduateEmploymentUnitStatisticsMapper.selectGraduateEmploymentUnitStatisticsById(id);
    }

    /**
     * 查询毕业生签约单位统计列表
     * 
     * @param graduateEmploymentUnitStatistics 毕业生签约单位统计
     * @return 毕业生签约单位统计
     */
    @Override
    public List<GraduateEmploymentUnitStatistics> selectGraduateEmploymentUnitStatisticsList(GraduateEmploymentUnitStatistics graduateEmploymentUnitStatistics)
    {
        return graduateEmploymentUnitStatisticsMapper.selectGraduateEmploymentUnitStatisticsList(graduateEmploymentUnitStatistics);
    }

    /**
     * 新增毕业生签约单位统计
     * 
     * @param graduateEmploymentUnitStatistics 毕业生签约单位统计
     * @return 结果
     */
    @Override
    public int insertGraduateEmploymentUnitStatistics(GraduateEmploymentUnitStatistics graduateEmploymentUnitStatistics)
    {
        return graduateEmploymentUnitStatisticsMapper.insertGraduateEmploymentUnitStatistics(graduateEmploymentUnitStatistics);
    }

    /**
     * 修改毕业生签约单位统计
     * 
     * @param graduateEmploymentUnitStatistics 毕业生签约单位统计
     * @return 结果
     */
    @Override
    public int updateGraduateEmploymentUnitStatistics(GraduateEmploymentUnitStatistics graduateEmploymentUnitStatistics)
    {
        return graduateEmploymentUnitStatisticsMapper.updateGraduateEmploymentUnitStatistics(graduateEmploymentUnitStatistics);
    }

    /**
     * 批量删除毕业生签约单位统计
     * 
     * @param ids 需要删除的毕业生签约单位统计主键
     * @return 结果
     */
    @Override
    public int deleteGraduateEmploymentUnitStatisticsByIds(Integer[] ids)
    {
        return graduateEmploymentUnitStatisticsMapper.deleteGraduateEmploymentUnitStatisticsByIds(ids);
    }

    /**
     * 删除毕业生签约单位统计信息
     * 
     * @param id 毕业生签约单位统计主键
     * @return 结果
     */
    @Override
    public int deleteGraduateEmploymentUnitStatisticsById(Integer id)
    {
        return graduateEmploymentUnitStatisticsMapper.deleteGraduateEmploymentUnitStatisticsById(id);
    }
}
